<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::CARTree&lt; LabelType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_c_a_r_tree.html">CARTree</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_c_a_r_tree-members.html">List of all members</a> &#124;
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle"><div class="title">shark::CARTree&lt; LabelType &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__models.html">Models</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Classification and Regression Tree.  
 <a href="classshark_1_1_c_a_r_tree.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_c_a_r_tree_8h_source.html">shark/Models/Trees/CARTree.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::CARTree&lt; LabelType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_c_a_r_tree__inherit__graph.png" border="0" usemap="#ashark_1_1_c_a_r_tree_3_01_label_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_c_a_r_tree_3_01_label_type_01_4_inherit__map" id="ashark_1_1_c_a_r_tree_3_01_label_type_01_4_inherit__map">
<area shape="rect" title="Classification and Regression Tree." alt="" coords="5,94,205,120"/>
<area shape="rect" href="classshark_1_1_abstract_model.html" title=" " alt="" coords="17,5,193,46"/>
<area shape="poly" title=" " alt="" coords="108,62,108,93,102,93,102,62"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aaf167bca3b83a14d3fbc520496b3a30d" id="r_aaf167bca3b83a14d3fbc520496b3a30d"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">base_type::BatchInputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#aaf167bca3b83a14d3fbc520496b3a30d">BatchInputType</a></td></tr>
<tr class="separator:aaf167bca3b83a14d3fbc520496b3a30d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2ae0547dd93ae91396f155ac603d698" id="r_aa2ae0547dd93ae91396f155ac603d698"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">base_type::BatchOutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#aa2ae0547dd93ae91396f155ac603d698">BatchOutputType</a></td></tr>
<tr class="separator:aa2ae0547dd93ae91396f155ac603d698"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab9958485b60a70fd08e501555bf82ce" id="r_aab9958485b60a70fd08e501555bf82ce"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#aab9958485b60a70fd08e501555bf82ce">TreeType</a></td></tr>
<tr class="separator:aab9958485b60a70fd08e501555bf82ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; RealVector, LabelType &gt;</a></td></tr>
<tr class="memitem:a76a2d024b6013037b072596fe4f9f829 inherit pub_types_classshark_1_1_abstract_model" id="r_a76a2d024b6013037b072596fe4f9f829"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> </td></tr>
<tr class="separator:a76a2d024b6013037b072596fe4f9f829 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model" id="r_a714e85d7a6cd2b68898cb5dbb25c37d4"><td class="memItemLeft" align="right" valign="top">typedef RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a></td></tr>
<tr class="memdesc:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the input type of the model.  <br /></td></tr>
<tr class="separator:a714e85d7a6cd2b68898cb5dbb25c37d4 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model" id="r_a8e5acf043e3a76b50d15a852365801b4"><td class="memItemLeft" align="right" valign="top">typedef LabelType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a></td></tr>
<tr class="memdesc:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the output type of the model.  <br /></td></tr>
<tr class="separator:a8e5acf043e3a76b50d15a852365801b4 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model" id="r_a7fccb0cdf4c0b47afbe5da03532b9b4e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html">AbstractModel</a>&lt; RealVector, LabelType, RealVector &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a7fccb0cdf4c0b47afbe5da03532b9b4e">ModelBaseType</a></td></tr>
<tr class="memdesc:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the BaseType used by the model (this type). Useful for creating derived models.  <br /></td></tr>
<tr class="separator:a7fccb0cdf4c0b47afbe5da03532b9b4e inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model" id="r_a518304e95092673b7b6438cace052ef6"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a></td></tr>
<tr class="memdesc:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">defines the batch type of the input type.  <br /></td></tr>
<tr class="separator:a518304e95092673b7b6438cace052ef6 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model" id="r_aa0c72e230b9a1324c95ba8ac0b07ba13"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a></td></tr>
<tr class="memdesc:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">defines the batch type of the output type  <br /></td></tr>
<tr class="separator:aa0c72e230b9a1324c95ba8ac0b07ba13 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6b242b73aadc63380181fdf4da1db84 inherit pub_types_classshark_1_1_abstract_model" id="r_aa6b242b73aadc63380181fdf4da1db84"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a></td></tr>
<tr class="separator:aa6b242b73aadc63380181fdf4da1db84 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48785f538572a695c46b9eec7a4a00f3 inherit pub_types_classshark_1_1_abstract_model" id="r_a48785f538572a695c46b9eec7a4a00f3"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a76a2d024b6013037b072596fe4f9f829">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a48785f538572a695c46b9eec7a4a00f3">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a48785f538572a695c46b9eec7a4a00f3 inherit pub_types_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable" id="r_a2ad5e2e60b2b352988b41f46024d790b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a></td></tr>
<tr class="separator:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a81e32e481410512f89d6ce6f6cd7dc35" id="r_a81e32e481410512f89d6ce6f6cd7dc35"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a81e32e481410512f89d6ce6f6cd7dc35">CARTree</a> ()</td></tr>
<tr class="memdesc:a81e32e481410512f89d6ce6f6cd7dc35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <br /></td></tr>
<tr class="separator:a81e32e481410512f89d6ce6f6cd7dc35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ef5eac13f15ef4aa02f2a8874d7a787" id="r_a6ef5eac13f15ef4aa02f2a8874d7a787"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a6ef5eac13f15ef4aa02f2a8874d7a787">CARTree</a> (std::size_t <a class="el" href="group__shark__globals.html#gae537f0e90beb970397cd7bb9250984e2">inputDimension</a>, <a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;<a class="el" href="classshark_1_1_c_a_r_tree.html#ad304c0e7b8eafe8b7a479c55893acf2c">outputShape</a>)</td></tr>
<tr class="separator:a6ef5eac13f15ef4aa02f2a8874d7a787"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe168c9946dc394dc6216b803890b242" id="r_abe168c9946dc394dc6216b803890b242"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#abe168c9946dc394dc6216b803890b242">name</a> () const</td></tr>
<tr class="memdesc:abe168c9946dc394dc6216b803890b242"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name.  <br /></td></tr>
<tr class="separator:abe168c9946dc394dc6216b803890b242"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab61230bfb1fa0dabe95576205b9dfdfc" id="r_ab61230bfb1fa0dabe95576205b9dfdfc"><td class="memItemLeft" align="right" valign="top">boost::shared_ptr&lt; <a class="el" href="structshark_1_1_state.html">State</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#ab61230bfb1fa0dabe95576205b9dfdfc">createState</a> () const</td></tr>
<tr class="memdesc:ab61230bfb1fa0dabe95576205b9dfdfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an internal state of the model.  <br /></td></tr>
<tr class="separator:ab61230bfb1fa0dabe95576205b9dfdfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aa23de99b00a1ceeb1d4445f8344ad6" id="r_a4aa23de99b00a1ceeb1d4445f8344ad6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a4aa23de99b00a1ceeb1d4445f8344ad6">eval</a> (<a class="el" href="classshark_1_1_c_a_r_tree.html#aaf167bca3b83a14d3fbc520496b3a30d">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_c_a_r_tree.html#aa2ae0547dd93ae91396f155ac603d698">BatchOutputType</a> &amp;outputs) const</td></tr>
<tr class="memdesc:a4aa23de99b00a1ceeb1d4445f8344ad6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluate the Tree on a batch of patterns.  <br /></td></tr>
<tr class="separator:a4aa23de99b00a1ceeb1d4445f8344ad6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63ecc465d06fff61ce17cdb3b4133131" id="r_a63ecc465d06fff61ce17cdb3b4133131"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a63ecc465d06fff61ce17cdb3b4133131">eval</a> (<a class="el" href="classshark_1_1_c_a_r_tree.html#aaf167bca3b83a14d3fbc520496b3a30d">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_c_a_r_tree.html#aa2ae0547dd93ae91396f155ac603d698">BatchOutputType</a> &amp;outputs, <a class="el" href="structshark_1_1_state.html">State</a> &amp;state) const</td></tr>
<tr class="memdesc:a63ecc465d06fff61ce17cdb3b4133131"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a batch of patterns.  <br /></td></tr>
<tr class="separator:a63ecc465d06fff61ce17cdb3b4133131"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94ff10cd7a06d9a14e8a67b8b7ff3b2a" id="r_a94ff10cd7a06d9a14e8a67b8b7ff3b2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a94ff10cd7a06d9a14e8a67b8b7ff3b2a">eval</a> (RealVector const &amp;pattern, LabelType &amp;output)</td></tr>
<tr class="memdesc:a94ff10cd7a06d9a14e8a67b8b7ff3b2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluate the Tree on a single pattern.  <br /></td></tr>
<tr class="separator:a94ff10cd7a06d9a14e8a67b8b7ff3b2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cf42c13416bca1cbb8b1a1d259f5dc4" id="r_a7cf42c13416bca1cbb8b1a1d259f5dc4"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a7cf42c13416bca1cbb8b1a1d259f5dc4">numberOfParameters</a> () const</td></tr>
<tr class="memdesc:a7cf42c13416bca1cbb8b1a1d259f5dc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The model does not have any parameters.  <br /></td></tr>
<tr class="separator:a7cf42c13416bca1cbb8b1a1d259f5dc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e4f9312692c66350cdeca84237a89b6" id="r_a6e4f9312692c66350cdeca84237a89b6"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a6e4f9312692c66350cdeca84237a89b6">parameterVector</a> () const</td></tr>
<tr class="memdesc:a6e4f9312692c66350cdeca84237a89b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The model does not have any parameters.  <br /></td></tr>
<tr class="separator:a6e4f9312692c66350cdeca84237a89b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ab54720cda5c7a9d3f571850f124725" id="r_a0ab54720cda5c7a9d3f571850f124725"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a0ab54720cda5c7a9d3f571850f124725">setParameterVector</a> (RealVector const &amp;param)</td></tr>
<tr class="memdesc:a0ab54720cda5c7a9d3f571850f124725"><td class="mdescLeft">&#160;</td><td class="mdescRight">The model does not have any parameters.  <br /></td></tr>
<tr class="separator:a0ab54720cda5c7a9d3f571850f124725"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9417860a291a1f8703c89cb0268c29c" id="r_aa9417860a291a1f8703c89cb0268c29c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#aa9417860a291a1f8703c89cb0268c29c">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:aa9417860a291a1f8703c89cb0268c29c"><td class="mdescLeft">&#160;</td><td class="mdescRight">from <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, reads a model from an archive  <br /></td></tr>
<tr class="separator:aa9417860a291a1f8703c89cb0268c29c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee2721f04af7597a7df6a825b4ca7777" id="r_aee2721f04af7597a7df6a825b4ca7777"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#aee2721f04af7597a7df6a825b4ca7777">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:aee2721f04af7597a7df6a825b4ca7777"><td class="mdescLeft">&#160;</td><td class="mdescRight">from <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, writes a model to an archive  <br /></td></tr>
<tr class="separator:aee2721f04af7597a7df6a825b4ca7777"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac18ee6d585b246bbd221c08639a0cef0" id="r_ac18ee6d585b246bbd221c08639a0cef0"><td class="memItemLeft" align="right" valign="top">UIntVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#ac18ee6d585b246bbd221c08639a0cef0">countAttributes</a> () const</td></tr>
<tr class="separator:ac18ee6d585b246bbd221c08639a0cef0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3415c364f7cb7d30a4afef271f1f5b42" id="r_a3415c364f7cb7d30a4afef271f1f5b42"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a3415c364f7cb7d30a4afef271f1f5b42">inputShape</a> () const</td></tr>
<tr class="memdesc:a3415c364f7cb7d30a4afef271f1f5b42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return input dimension.  <br /></td></tr>
<tr class="separator:a3415c364f7cb7d30a4afef271f1f5b42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad304c0e7b8eafe8b7a479c55893acf2c" id="r_ad304c0e7b8eafe8b7a479c55893acf2c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#ad304c0e7b8eafe8b7a479c55893acf2c">outputShape</a> () const</td></tr>
<tr class="memdesc:ad304c0e7b8eafe8b7a479c55893acf2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the shape of the output.  <br /></td></tr>
<tr class="separator:ad304c0e7b8eafe8b7a479c55893acf2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa12bccd442cf16fb99410fc161ac1c52" id="r_aa12bccd442cf16fb99410fc161ac1c52"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#aa12bccd442cf16fb99410fc161ac1c52">numberOfNodes</a> () const</td></tr>
<tr class="separator:aa12bccd442cf16fb99410fc161ac1c52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05fce970ee23389c182a466aa287d207" id="r_a05fce970ee23389c182a466aa287d207"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a05fce970ee23389c182a466aa287d207">getNode</a> (std::size_t nodeId)</td></tr>
<tr class="memdesc:a05fce970ee23389c182a466aa287d207"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the node with id nodeId.  <br /></td></tr>
<tr class="separator:a05fce970ee23389c182a466aa287d207"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57ae315f283118d76b57ee3526683439" id="r_a57ae315f283118d76b57ee3526683439"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a57ae315f283118d76b57ee3526683439">getNode</a> (std::size_t nodeId) const</td></tr>
<tr class="memdesc:a57ae315f283118d76b57ee3526683439"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the node with id nodeId.  <br /></td></tr>
<tr class="separator:a57ae315f283118d76b57ee3526683439"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbe95f0748a72c0e0ea58b682aaf79ce" id="r_acbe95f0748a72c0e0ea58b682aaf79ce"><td class="memItemLeft" align="right" valign="top">LabelType const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#acbe95f0748a72c0e0ea58b682aaf79ce">getLabel</a> (std::size_t nodeId) const</td></tr>
<tr class="separator:acbe95f0748a72c0e0ea58b682aaf79ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad91c08d09c8d94522cb44b7807a73ade" id="r_ad91c08d09c8d94522cb44b7807a73ade"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#ad91c08d09c8d94522cb44b7807a73ade">createRoot</a> ()</td></tr>
<tr class="memdesc:ad91c08d09c8d94522cb44b7807a73ade"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns an untyped root node (neither internal, nor leaf node)  <br /></td></tr>
<tr class="separator:ad91c08d09c8d94522cb44b7807a73ade"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cb77d15a5e99bfb46b1d5a619e5f533" id="r_a3cb77d15a5e99bfb46b1d5a619e5f533"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a3cb77d15a5e99bfb46b1d5a619e5f533">transformInternalNode</a> (std::size_t nodeId, std::size_t attributeIndex, double attributeValue)</td></tr>
<tr class="memdesc:a3cb77d15a5e99bfb46b1d5a619e5f533"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transforms an untyped node (no child, no internal node) into an internal node.  <br /></td></tr>
<tr class="separator:a3cb77d15a5e99bfb46b1d5a619e5f533"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e1416b62cbf5b9704fb0d3ff8e3fa4d" id="r_a2e1416b62cbf5b9704fb0d3ff8e3fa4d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a2e1416b62cbf5b9704fb0d3ff8e3fa4d">transformLeafNode</a> (std::size_t nodeId, LabelType const &amp;label)</td></tr>
<tr class="memdesc:a2e1416b62cbf5b9704fb0d3ff8e3fa4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transforms a node (no leaf) into a leaf node and inserts the appropriate label.  <br /></td></tr>
<tr class="separator:a2e1416b62cbf5b9704fb0d3ff8e3fa4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae38eaeb8b77503cb46cdefdce5d363ca" id="r_ae38eaeb8b77503cb46cdefdce5d363ca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#ae38eaeb8b77503cb46cdefdce5d363ca">reorderBFS</a> ()</td></tr>
<tr class="memdesc:ae38eaeb8b77503cb46cdefdce5d363ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reorders a tree into a breath-first-ordering.  <br /></td></tr>
<tr class="separator:ae38eaeb8b77503cb46cdefdce5d363ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28c7b70a46acdcec82b2d3c234b345ed" id="r_a28c7b70a46acdcec82b2d3c234b345ed"><td class="memTemplParams" colspan="2">template&lt;class Vector &gt; </td></tr>
<tr class="memitem:a28c7b70a46acdcec82b2d3c234b345ed"><td class="memTemplItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classshark_1_1_c_a_r_tree.html#a28c7b70a46acdcec82b2d3c234b345ed">findLeaf</a> (Vector const &amp;pattern) const</td></tr>
<tr class="memdesc:a28c7b70a46acdcec82b2d3c234b345ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the leaf of the tree for a sample.  <br /></td></tr>
<tr class="separator:a28c7b70a46acdcec82b2d3c234b345ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; RealVector, LabelType &gt;</a></td></tr>
<tr class="memitem:a0b7aeb13b70c8d4cffc4958e6583627c inherit pub_methods_classshark_1_1_abstract_model" id="r_a0b7aeb13b70c8d4cffc4958e6583627c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a0b7aeb13b70c8d4cffc4958e6583627c">AbstractModel</a> ()</td></tr>
<tr class="separator:a0b7aeb13b70c8d4cffc4958e6583627c inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad07313494d4f88c8294410d0c77d80b7 inherit pub_methods_classshark_1_1_abstract_model" id="r_ad07313494d4f88c8294410d0c77d80b7"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ad07313494d4f88c8294410d0c77d80b7">~AbstractModel</a> ()</td></tr>
<tr class="separator:ad07313494d4f88c8294410d0c77d80b7 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a234570c3bc1f1fdf06e67ecc4751fa24 inherit pub_methods_classshark_1_1_abstract_model" id="r_a234570c3bc1f1fdf06e67ecc4751fa24"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a234570c3bc1f1fdf06e67ecc4751fa24">features</a> () const</td></tr>
<tr class="separator:a234570c3bc1f1fdf06e67ecc4751fa24 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8cb877bb0c6b8e713e852f9057a6eae inherit pub_methods_classshark_1_1_abstract_model" id="r_af8cb877bb0c6b8e713e852f9057a6eae"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#af8cb877bb0c6b8e713e852f9057a6eae">updateFeatures</a> ()</td></tr>
<tr class="separator:af8cb877bb0c6b8e713e852f9057a6eae inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model" id="r_ae04810c1ae40f816872eba4ef3953e36"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ae04810c1ae40f816872eba4ef3953e36">hasFirstParameterDerivative</a> () const</td></tr>
<tr class="memdesc:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the first parameter derivative is implemented.  <br /></td></tr>
<tr class="separator:ae04810c1ae40f816872eba4ef3953e36 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model" id="r_a1092b50b56555e8f2e8b4d4aa57eb3c3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a1092b50b56555e8f2e8b4d4aa57eb3c3">hasFirstInputDerivative</a> () const</td></tr>
<tr class="memdesc:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true when the first input derivative is implemented.  <br /></td></tr>
<tr class="separator:a1092b50b56555e8f2e8b4d4aa57eb3c3 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a331290a6cb2840663d2178899366c8 inherit pub_methods_classshark_1_1_abstract_model" id="r_a3a331290a6cb2840663d2178899366c8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a3a331290a6cb2840663d2178899366c8">eval</a> (<a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &amp;output) const</td></tr>
<tr class="memdesc:a3a331290a6cb2840663d2178899366c8 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard interface for evaluating the response of the model to a single pattern.  <br /></td></tr>
<tr class="separator:a3a331290a6cb2840663d2178899366c8 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model" id="r_a0b69168617355ebbd470caf2393a541f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a0b69168617355ebbd470caf2393a541f">operator()</a> (<a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> &gt; const &amp;patterns) const</td></tr>
<tr class="memdesc:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a whole dataset. This is a convenience function.  <br /></td></tr>
<tr class="separator:a0b69168617355ebbd470caf2393a541f inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model" id="r_a78b0b0517a53c93013b9372292f73a78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#a8e5acf043e3a76b50d15a852365801b4">OutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a78b0b0517a53c93013b9372292f73a78">operator()</a> (<a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">InputType</a> const &amp;pattern) const</td></tr>
<tr class="memdesc:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a single pattern. This is a convenience function.  <br /></td></tr>
<tr class="separator:a78b0b0517a53c93013b9372292f73a78 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model" id="r_aa10f381b3bd678c82a600c5bc6ac0ec3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#aa10f381b3bd678c82a600c5bc6ac0ec3">operator()</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns) const</td></tr>
<tr class="memdesc:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">Model evaluation as an operator for a single pattern. This is a convenience function.  <br /></td></tr>
<tr class="separator:aa10f381b3bd678c82a600c5bc6ac0ec3 inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model" id="r_ad699b6b1f813c5cc3b3ed45f254dbc1d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#ad699b6b1f813c5cc3b3ed45f254dbc1d">weightedParameterDerivative</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, RealVector &amp;derivative) const</td></tr>
<tr class="memdesc:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates the weighted sum of derivatives w.r.t the parameters.  <br /></td></tr>
<tr class="separator:ad699b6b1f813c5cc3b3ed45f254dbc1d inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model" id="r_a3c192dedb474c5a8e39b1f46d99f94cc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a3c192dedb474c5a8e39b1f46d99f94cc">weightedInputDerivative</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;pattern, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> &amp;derivative) const</td></tr>
<tr class="memdesc:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates the weighted sum of derivatives w.r.t the inputs  <br /></td></tr>
<tr class="separator:a3c192dedb474c5a8e39b1f46d99f94cc inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model" id="r_adb4966b597013417b5e9957c84485c8c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#adb4966b597013417b5e9957c84485c8c">weightedDerivatives</a> (<a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> const &amp;patterns, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;outputs, <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">BatchOutputType</a> const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, RealVector &amp;parameterDerivative, <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">BatchInputType</a> &amp;inputDerivative) const</td></tr>
<tr class="memdesc:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculates weighted input and parameter derivative at the same time  <br /></td></tr>
<tr class="separator:adb4966b597013417b5e9957c84485c8c inherit pub_methods_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable" id="r_a9e3a11172e74d1aa7292f3de4e2b6ebc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a9e3a11172e74d1aa7292f3de4e2b6ebc">~IParameterizable</a> ()</td></tr>
<tr class="separator:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_model"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_model')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_model.html">shark::AbstractModel&lt; RealVector, LabelType &gt;</a></td></tr>
<tr class="memitem:a4c5a689901083e50007f53de72f694fc inherit pro_attribs_classshark_1_1_abstract_model" id="r_a4c5a689901083e50007f53de72f694fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_model.html#aa6b242b73aadc63380181fdf4da1db84">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_model.html#a4c5a689901083e50007f53de72f694fc">m_features</a></td></tr>
<tr class="separator:a4c5a689901083e50007f53de72f694fc inherit pro_attribs_classshark_1_1_abstract_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class LabelType&gt;<br />
class shark::CARTree&lt; LabelType &gt;</div><p>Classification and Regression Tree. </p>
<dl class="section user"><dt></dt><dd>The <a class="el" href="classshark_1_1_c_a_r_tree.html" title="Classification and Regression Tree.">CARTree</a> predicts a class label using a decision tree </dd></dl>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00051">51</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="aaf167bca3b83a14d3fbc520496b3a30d" name="aaf167bca3b83a14d3fbc520496b3a30d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf167bca3b83a14d3fbc520496b3a30d">&#9670;&#160;</a></span>BatchInputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_model.html#a518304e95092673b7b6438cace052ef6">base_type::BatchInputType</a> <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::BatchInputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00056">56</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="aa2ae0547dd93ae91396f155ac603d698" name="aa2ae0547dd93ae91396f155ac603d698"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2ae0547dd93ae91396f155ac603d698">&#9670;&#160;</a></span>BatchOutputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_model.html#aa0c72e230b9a1324c95ba8ac0b07ba13">base_type::BatchOutputType</a> <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::BatchOutputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00057">57</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="aab9958485b60a70fd08e501555bf82ce" name="aab9958485b60a70fd08e501555bf82ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab9958485b60a70fd08e501555bf82ce">&#9670;&#160;</a></span>TreeType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a>&gt; <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::TreeType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00073">73</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a81e32e481410512f89d6ce6f6cd7dc35" name="a81e32e481410512f89d6ce6f6cd7dc35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81e32e481410512f89d6ce6f6cd7dc35">&#9670;&#160;</a></span>CARTree() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::CARTree </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00077">77</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="a6ef5eac13f15ef4aa02f2a8874d7a787" name="a6ef5eac13f15ef4aa02f2a8874d7a787"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ef5eac13f15ef4aa02f2a8874d7a787">&#9670;&#160;</a></span>CARTree() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::CARTree </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>inputDimension</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_shape.html">Shape</a> const &amp;&#160;</td>
          <td class="paramname"><em>outputShape</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00079">79</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac18ee6d585b246bbd221c08639a0cef0" name="ac18ee6d585b246bbd221c08639a0cef0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac18ee6d585b246bbd221c08639a0cef0">&#9670;&#160;</a></span>countAttributes()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">UIntVector <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::countAttributes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00147">147</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<a id="ad91c08d09c8d94522cb44b7807a73ade" name="ad91c08d09c8d94522cb44b7807a73ade"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad91c08d09c8d94522cb44b7807a73ade">&#9670;&#160;</a></span>createRoot()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a> &amp; <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::createRoot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates and returns an untyped root node (neither internal, nor leaf node) </p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00191">191</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a9bbe86af026b6427b81f73d56630d20e">shark::CARTree&lt; LabelType &gt;::Node::leftId</a>, and <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a76b5e6f60f3f6a8d5938c5ac4ccb1a4b">shark::CARTree&lt; LabelType &gt;::Node::rightIdOrIndex</a>.</p>

</div>
</div>
<a id="ab61230bfb1fa0dabe95576205b9dfdfc" name="ab61230bfb1fa0dabe95576205b9dfdfc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab61230bfb1fa0dabe95576205b9dfdfc">&#9670;&#160;</a></span>createState()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boost::shared_ptr&lt; <a class="el" href="structshark_1_1_state.html">State</a> &gt; <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::createState </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an internal state of the model. </p>
<p>The state is needed when the derivatives are to be calculated. Eval can store a state which is then reused to speed up the calculations of the derivatives. This also allows eval to be evaluated in parallel! </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a47d80a74ce80e5dd5e2851c52738b86b">shark::AbstractModel&lt; RealVector, LabelType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00088">88</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="a4aa23de99b00a1ceeb1d4445f8344ad6" name="a4aa23de99b00a1ceeb1d4445f8344ad6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4aa23de99b00a1ceeb1d4445f8344ad6">&#9670;&#160;</a></span>eval() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_c_a_r_tree.html#aaf167bca3b83a14d3fbc520496b3a30d">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>patterns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_c_a_r_tree.html#aa2ae0547dd93ae91396f155ac603d698">BatchOutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Evaluate the Tree on a batch of patterns. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#ac7edef74da55322b6aef0ba65b08592d">shark::AbstractModel&lt; RealVector, LabelType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00094">94</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="namespaceshark.html#a1531880b9b4076854b0b26441d353242">shark::getBatchElement()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_a_r_tree.html#a63ecc465d06fff61ce17cdb3b4133131">shark::CARTree&lt; LabelType &gt;::eval()</a>.</p>

</div>
</div>
<a id="a63ecc465d06fff61ce17cdb3b4133131" name="a63ecc465d06fff61ce17cdb3b4133131"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63ecc465d06fff61ce17cdb3b4133131">&#9670;&#160;</a></span>eval() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_c_a_r_tree.html#aaf167bca3b83a14d3fbc520496b3a30d">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>patterns</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_c_a_r_tree.html#aa2ae0547dd93ae91396f155ac603d698">BatchOutputType</a> &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structshark_1_1_state.html">State</a> &amp;&#160;</td>
          <td class="paramname"><em>state</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Standard interface for evaluating the response of the model to a batch of patterns. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">patterns</td><td>the inputs of the model </td></tr>
    <tr><td class="paramname">outputs</td><td>the predictions or response of the model to every pattern </td></tr>
    <tr><td class="paramname">state</td><td>intermediate results stored by eval which can be reused for derivative computation. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#af6b99ab56d362609a144764922b4bd7b">shark::AbstractModel&lt; RealVector, LabelType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00107">107</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_c_a_r_tree.html#a4aa23de99b00a1ceeb1d4445f8344ad6">shark::CARTree&lt; LabelType &gt;::eval()</a>.</p>

</div>
</div>
<a id="a94ff10cd7a06d9a14e8a67b8b7ff3b2a" name="a94ff10cd7a06d9a14e8a67b8b7ff3b2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94ff10cd7a06d9a14e8a67b8b7ff3b2a">&#9670;&#160;</a></span>eval() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::eval </td>
          <td>(</td>
          <td class="paramtype">RealVector const &amp;&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LabelType &amp;&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Evaluate the Tree on a single pattern. </p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00111">111</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="a28c7b70a46acdcec82b2d3c234b345ed" name="a28c7b70a46acdcec82b2d3c234b345ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28c7b70a46acdcec82b2d3c234b345ed">&#9670;&#160;</a></span>findLeaf()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<div class="memtemplate">
template&lt;class Vector &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::findLeaf </td>
          <td>(</td>
          <td class="paramtype">Vector const &amp;&#160;</td>
          <td class="paramname"><em>pattern</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Find the leaf of the tree for a sample. </p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00279">279</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="acbe95f0748a72c0e0ea58b682aaf79ce" name="acbe95f0748a72c0e0ea58b682aaf79ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbe95f0748a72c0e0ea58b682aaf79ce">&#9670;&#160;</a></span>getLabel()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">LabelType const  &amp; <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::getLabel </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>nodeId</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00185">185</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>.</p>

</div>
</div>
<a id="a05fce970ee23389c182a466aa287d207" name="a05fce970ee23389c182a466aa287d207"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05fce970ee23389c182a466aa287d207">&#9670;&#160;</a></span>getNode() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a> &amp; <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::getNode </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>nodeId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the node with id nodeId. </p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00175">175</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_a_r_tree.html#ae38eaeb8b77503cb46cdefdce5d363ca">shark::CARTree&lt; LabelType &gt;::reorderBFS()</a>.</p>

</div>
</div>
<a id="a57ae315f283118d76b57ee3526683439" name="a57ae315f283118d76b57ee3526683439"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57ae315f283118d76b57ee3526683439">&#9670;&#160;</a></span>getNode() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a> const  &amp; <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::getNode </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>nodeId</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the node with id nodeId. </p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00180">180</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>.</p>

</div>
</div>
<a id="a3415c364f7cb7d30a4afef271f1f5b42" name="a3415c364f7cb7d30a4afef271f1f5b42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3415c364f7cb7d30a4afef271f1f5b42">&#9670;&#160;</a></span>inputShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_shape.html">Shape</a> <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::inputShape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return input dimension. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#a56391736859ddea5d1011d2248431b47">shark::AbstractModel&lt; RealVector, LabelType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00159">159</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="abe168c9946dc394dc6216b803890b242" name="abe168c9946dc394dc6216b803890b242"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe168c9946dc394dc6216b803890b242">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00085">85</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="aa12bccd442cf16fb99410fc161ac1c52" name="aa12bccd442cf16fb99410fc161ac1c52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa12bccd442cf16fb99410fc161ac1c52">&#9670;&#160;</a></span>numberOfNodes()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::numberOfNodes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00170">170</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="a7cf42c13416bca1cbb8b1a1d259f5dc4" name="a7cf42c13416bca1cbb8b1a1d259f5dc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cf42c13416bca1cbb8b1a1d259f5dc4">&#9670;&#160;</a></span>numberOfParameters()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::numberOfParameters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The model does not have any parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00116">116</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="ad304c0e7b8eafe8b7a479c55893acf2c" name="ad304c0e7b8eafe8b7a479c55893acf2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad304c0e7b8eafe8b7a479c55893acf2c">&#9670;&#160;</a></span>outputShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_shape.html">Shape</a> <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::outputShape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the shape of the output. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_model.html#a54b8655a750489902560a5eb32ba5b4b">shark::AbstractModel&lt; RealVector, LabelType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00162">162</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="a6e4f9312692c66350cdeca84237a89b6" name="a6e4f9312692c66350cdeca84237a89b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e4f9312692c66350cdeca84237a89b6">&#9670;&#160;</a></span>parameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::parameterVector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The model does not have any parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#afaa2ba692ab64a0edbff60d7ee6794db">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00121">121</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="aa9417860a291a1f8703c89cb0268c29c" name="aa9417860a291a1f8703c89cb0268c29c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9417860a291a1f8703c89cb0268c29c">&#9670;&#160;</a></span>read()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>from <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, reads a model from an archive </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a11203dd6f50218e4c341a5d24ff5d543">shark::AbstractModel&lt; RealVector, LabelType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00131">131</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<a id="ae38eaeb8b77503cb46cdefdce5d363ca" name="ae38eaeb8b77503cb46cdefdce5d363ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae38eaeb8b77503cb46cdefdce5d363ca">&#9670;&#160;</a></span>reorderBFS()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::reorderBFS </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reorders a tree into a breath-first-ordering. </p>
<p>This function call will remove all unreachable subtrees while reordering the nodes by their depth in the tree, i.e. first comes the root, the the children of the root, than their children, etc. </p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00249">249</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_c_a_r_tree.html#a05fce970ee23389c182a466aa287d207">shark::CARTree&lt; LabelType &gt;::getNode()</a>, <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a9bbe86af026b6427b81f73d56630d20e">shark::CARTree&lt; LabelType &gt;::Node::leftId</a>, and <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a76b5e6f60f3f6a8d5938c5ac4ccb1a4b">shark::CARTree&lt; LabelType &gt;::Node::rightIdOrIndex</a>.</p>

</div>
</div>
<a id="a0ab54720cda5c7a9d3f571850f124725" name="a0ab54720cda5c7a9d3f571850f124725"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ab54720cda5c7a9d3f571850f124725">&#9670;&#160;</a></span>setParameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::setParameterVector </td>
          <td>(</td>
          <td class="paramtype">RealVector const &amp;&#160;</td>
          <td class="paramname"><em>param</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The model does not have any parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#ad5e35d1a10ff36fa72ea787baa40e9ad">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00126">126</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<a id="a3cb77d15a5e99bfb46b1d5a619e5f533" name="a3cb77d15a5e99bfb46b1d5a619e5f533"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3cb77d15a5e99bfb46b1d5a619e5f533">&#9670;&#160;</a></span>transformInternalNode()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a> &amp; <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::transformInternalNode </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>nodeId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>attributeIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>attributeValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Transforms an untyped node (no child, no internal node) into an internal node. </p>
<p>This creates already the two childs of the node, which are untyped. </p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00204">204</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a9bbe86af026b6427b81f73d56630d20e">shark::CARTree&lt; LabelType &gt;::Node::leftId</a>, and <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a76b5e6f60f3f6a8d5938c5ac4ccb1a4b">shark::CARTree&lt; LabelType &gt;::Node::rightIdOrIndex</a>.</p>

</div>
</div>
<a id="a2e1416b62cbf5b9704fb0d3ff8e3fa4d" name="a2e1416b62cbf5b9704fb0d3ff8e3fa4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e1416b62cbf5b9704fb0d3ff8e3fa4d">&#9670;&#160;</a></span>transformLeafNode()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html">Node</a> &amp; <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::transformLeafNode </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>nodeId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LabelType const &amp;&#160;</td>
          <td class="paramname"><em>label</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Transforms a node (no leaf) into a leaf node and inserts the appropriate label. </p>
<p>If the node was an internal node before, its connections get removed and the childs are not reachable any more. Calling a reorder routine like <a class="el" href="classshark_1_1_c_a_r_tree.html#ae38eaeb8b77503cb46cdefdce5d363ca" title="Reorders a tree into a breath-first-ordering.">reorderBFS()</a> will get rid of those nodes. </p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00234">234</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

<p class="reference">References <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a34ad7528c92f121a423e5d1eee67e2c9">shark::CARTree&lt; LabelType &gt;::Node::attributeIndex</a>, <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a9bbe86af026b6427b81f73d56630d20e">shark::CARTree&lt; LabelType &gt;::Node::leftId</a>, and <a class="el" href="structshark_1_1_c_a_r_tree_1_1_node.html#a76b5e6f60f3f6a8d5938c5ac4ccb1a4b">shark::CARTree&lt; LabelType &gt;::Node::rightIdOrIndex</a>.</p>

</div>
</div>
<a id="aee2721f04af7597a7df6a825b4ca7777" name="aee2721f04af7597a7df6a825b4ca7777"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee2721f04af7597a7df6a825b4ca7777">&#9670;&#160;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class LabelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_c_a_r_tree.html">shark::CARTree</a>&lt; LabelType &gt;::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;&#160;</td>
          <td class="paramname"><em>archive</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>from <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, writes a model to an archive </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_model.html#a7d3f3d4d781954dc43d6cd445a5b56b4">shark::AbstractModel&lt; RealVector, LabelType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_c_a_r_tree_8h_source.html#l00139">139</a> of file <a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Models/Trees/<a class="el" href="_c_a_r_tree_8h_source.html">CARTree.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
